package tarantula.experiment.commons;

import junit.framework.TestCase;

public class CollectionsFailedTestsSimpleTest extends TestCase {
	 public void test1() throws Throwable {

		    java.lang.String var0 = "";
		    org.apache.commons.collections.BeanMap var1 = new org.apache.commons.collections.BeanMap((java.lang.Object)var0);
		    
		    // Checks the contract:  equals-hashcode on var1 and var1
		    assertTrue("Contract failed: equals-hashcode on var1 and var1", var1.equals(var1) ? var1.hashCode() == var1.hashCode() : true);

		  }

		  public void test2() throws Throwable {

		    java.lang.Integer var0 = new java.lang.Integer(100);
		    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
		    org.apache.commons.collections.Transformer var2 = org.apache.commons.collections.TransformerUtils.exceptionTransformer();
		    org.apache.commons.collections.Buffer var3 = org.apache.commons.collections.BufferUtils.transformedBuffer((org.apache.commons.collections.Buffer)var1, var2);
		    org.apache.commons.collections.Buffer var4 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var3);
		    
		    // Checks the contract:  equals-symmetric on var4 and var3.
		    assertTrue("Contract failed: equals-symmetric on var4 and var3.", var4.equals(var3) == var3.equals(var4));

		  }

		  public void test3() throws Throwable {

		    java.lang.Integer var0 = new java.lang.Integer(100);
		    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
		    org.apache.commons.collections.Buffer var2 = org.apache.commons.collections.BufferUtils.synchronizedBuffer((org.apache.commons.collections.Buffer)var1);
		    boolean var3 = var1.addAll((java.util.Collection)var1);
		    org.apache.commons.collections.comparators.BooleanComparator var4 = new org.apache.commons.collections.comparators.BooleanComparator(var3);
		    org.apache.commons.collections.BinaryHeap var5 = new org.apache.commons.collections.BinaryHeap(var3, (java.util.Comparator)var4);
		    java.util.Map var6 = org.apache.commons.collections.CollectionUtils.getCardinalityMap((java.util.Collection)var5);
		    org.apache.commons.collections.bidimap.DualHashBidiMap var7 = new org.apache.commons.collections.bidimap.DualHashBidiMap(var6);
		    org.apache.commons.collections.map.LinkedMap var8 = new org.apache.commons.collections.map.LinkedMap((java.util.Map)var7);
		    long var9 = org.apache.commons.collections.MapUtils.getLongValue((java.util.Map)var8, (java.lang.Object)var5);
		    org.apache.commons.collections.Buffer var10 = org.apache.commons.collections.BufferUtils.blockingBuffer(var2, (long)var9);
		    
		    // Checks the contract:  equals-symmetric on var10 and var2.
		    assertTrue("Contract failed: equals-symmetric on var10 and var2.", var10.equals(var2) == var2.equals(var10));

		  }

		  public void test4() throws Throwable {

		    java.lang.Integer var0 = new java.lang.Integer(100);
		    org.apache.commons.collections.buffer.BoundedFifoBuffer var1 = new org.apache.commons.collections.buffer.BoundedFifoBuffer(var0);
		    org.apache.commons.collections.Transformer var2 = org.apache.commons.collections.TransformerUtils.exceptionTransformer();
		    org.apache.commons.collections.Buffer var3 = org.apache.commons.collections.BufferUtils.transformedBuffer((org.apache.commons.collections.Buffer)var1, var2);
		    org.apache.commons.collections.Buffer var4 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var3);
		    
		    // Checks the contract:  equals-symmetric on var4 and var3.
		    assertTrue("Contract failed: equals-symmetric on var4 and var3.", var4.equals(var3) == var3.equals(var4));

		  }

		  public void test5() throws Throwable {

		    org.apache.commons.collections.buffer.BoundedFifoBuffer var0 = new org.apache.commons.collections.buffer.BoundedFifoBuffer();
		    org.apache.commons.collections.Buffer var1 = org.apache.commons.collections.BufferUtils.synchronizedBuffer((org.apache.commons.collections.Buffer)var0);
		    org.apache.commons.collections.Buffer var2 = org.apache.commons.collections.BufferUtils.unmodifiableBuffer(var1);
		    
		    // Checks the contract:  equals-symmetric on var2 and var1.
		    assertTrue("Contract failed: equals-symmetric on var2 and var1.", var2.equals(var1) == var1.equals(var2));

		  }

		  public void test6() throws Throwable {

		    org.apache.commons.collections.set.ListOrderedSet var0 = new org.apache.commons.collections.set.ListOrderedSet();
		    org.apache.commons.collections.set.ListOrderedSet var1 = new org.apache.commons.collections.set.ListOrderedSet();
		    java.util.List var2 = var1.asList();
		    org.apache.commons.collections.set.ListOrderedSet var3 = org.apache.commons.collections.set.ListOrderedSet.decorate((java.util.Set)var0, var2);
		    org.apache.commons.collections.set.ListOrderedSet var4 = new org.apache.commons.collections.set.ListOrderedSet();
		    org.apache.commons.collections.set.ListOrderedSet var5 = new org.apache.commons.collections.set.ListOrderedSet();
		    org.apache.commons.collections.set.ListOrderedSet var6 = new org.apache.commons.collections.set.ListOrderedSet();
		    int var7 = var0.size();
		    boolean var8 = var1.add((java.lang.Object)var7);
		    boolean var9 = var0.removeAll((java.util.Collection)var1);
		    
		    // Checks the contract:  equals-symmetric on var3 and var0.
		    assertTrue("Contract failed: equals-symmetric on var3 and var0.", var3.equals(var0) == var0.equals(var3));
		    
		    // Checks the contract:  equals-symmetric on var3 and var4.
		    assertTrue("Contract failed: equals-symmetric on var3 and var4.", var3.equals(var4) == var4.equals(var3));
		    
		    // Checks the contract:  equals-symmetric on var3 and var5.
		    assertTrue("Contract failed: equals-symmetric on var3 and var5.", var3.equals(var5) == var5.equals(var3));
		    
		    // Checks the contract:  equals-symmetric on var3 and var6.
		    assertTrue("Contract failed: equals-symmetric on var3 and var6.", var3.equals(var6) == var6.equals(var3));

		  }

		  public void test7() throws Throwable {

		    org.apache.commons.collections.set.ListOrderedSet var0 = new org.apache.commons.collections.set.ListOrderedSet();
		    org.apache.commons.collections.set.ListOrderedSet var1 = new org.apache.commons.collections.set.ListOrderedSet();
		    java.util.List var2 = var1.asList();
		    org.apache.commons.collections.set.ListOrderedSet var3 = org.apache.commons.collections.set.ListOrderedSet.decorate((java.util.Set)var0, var2);
		    boolean var4 = var1.add((java.lang.Object)var0);
		    
		    // Checks the contract:  equals-symmetric on var3 and var0.
		    assertTrue("Contract failed: equals-symmetric on var3 and var0.", var3.equals(var0) == var0.equals(var3));

		  }

		  public void test8() throws Throwable {

		    org.apache.commons.collections.set.ListOrderedSet var0 = new org.apache.commons.collections.set.ListOrderedSet();
		    org.apache.commons.collections.set.ListOrderedSet var1 = new org.apache.commons.collections.set.ListOrderedSet();
		    java.util.List var2 = var1.asList();
		    org.apache.commons.collections.set.ListOrderedSet var3 = org.apache.commons.collections.set.ListOrderedSet.decorate((java.util.Set)var0, var2);
		    int var4 = var0.size();
		    boolean var5 = var1.add((java.lang.Object)var4);
		    java.lang.Long var6 = new java.lang.Long(0L);
		    var0.add((int)var4, (java.lang.Object)var6);
		    
		    // Checks the contract:  equals-symmetric on var1 and var3.
		    assertTrue("Contract failed: equals-symmetric on var1 and var3.", var1.equals(var3) == var3.equals(var1));
		    
		    // Checks the contract:  equals-symmetric on var3 and var0.
		    assertTrue("Contract failed: equals-symmetric on var3 and var0.", var3.equals(var0) == var0.equals(var3));

		  }
}
